package com.daou.meeting.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.daou.meeting.domain.User;

@Repository
public interface UserRepository extends JpaRepository<User, Long> , JpaSpecificationExecutor<User>{
	public User findByEmail(String email);
	public User findByPassword(String password);
	public List<User> findByOnline(boolean flag);
}
